package org.example.studentsystem_back.vo.DormStuMangeVo;

import lombok.Data;
import org.example.studentsystem_back.domain.DormStu;

@Data
public class DormStuIdVo extends DormStu {
    private int StuId;
    public void setDormStuId(DormStu dormStu) {
        this.setDormStuId(dormStu.getDormStuId());
        this.setDormNum(dormStu.getDormNum());
        this.setArea(dormStu.getArea());
        this.setStuNum(dormStu.getStuNum());
        this.setName(dormStu.getName());
        this.setPhone(dormStu.getPhone());
        this.setState(dormStu.getState());
        this.setReason(dormStu.getReason());
        this.setDate(dormStu.getDate());
    }
}
